package combat.settlement.order;

/**
 * @author Seon
 * @version 1.0
 * @since 2024-09-03
 */
public abstract class OrderDecorator extends Order {
    // 使用这个来对Order类进行装饰
    protected Order decoratedOrder;

    public OrderDecorator(Order order) {
        super(order.originalPrice);
        this.decoratedOrder = order;
    }

    @Override
    public abstract double calculateFinalPrice();
}
